package com.fifth.apartment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fifth.apartment.entity.BuildingInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 公寓信息表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-07-11
 */
@Mapper
public interface BuildingInfoMapper extends BaseMapper<BuildingInfo> {
    @Select("select * from building_info ")
    BuildingInfo[]  getBuildings();
}
